<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>电影售票</title>
    <script src="http://47.106.66.89:8080/js/vue.min.js"></script>
    <script src="http://47.106.66.89:8080/js/axios.min.js"></script>
    <link href="http://47.106.66.89:8080/js/ele-2.15.7/theme-chalk/index.css" rel="stylesheet">
    <script src="http://47.106.66.89:8080/js/ele-2.15.7/index.js"></script>
    <script src="sgin.js"></script>
<!--    https://www.yidepiao.com/movie/4596 -->
</head>
<body>
<div id="app">
    <el-container>
        <el-header class="title">
            <div class="c900 flex">
                <el-link :underline="false" href="index.html"><h1>电影售票平台</h1></el-link>
                <nav>
                    <el-link href="index.html" class="center" :underline="false">首页</el-link>
                    <el-link href="hots.html" class="center" :underline="false">热映电影</el-link>
                    <el-link class="center" :underline="false">电影院</el-link>
                    <el-link class="center" :underline="false">优惠活动</el-link>
                </nav>
                <el-input style="width: auto" placeholder="请输入电影,影院,活动">
                    <el-button slot="append" icon="el-icon-search"></el-button>
                </el-input>
                <div class="flex">
                    <sgin ref="a" style="display: flex;gap: 10px">
                        <!--                        <template #logined="props">-->
                        <template #logined>
                            <el-avatar :src="$refs.a != null?$refs.a.myinfo.head:''"></el-avatar>
                            <el-link href="sgin/logout">退出</el-link>
                        </template>
                        <template #nologin>
                            <el-link href="register.html">注册</el-link>
                            <el-button type="text"@click="$refs.a.showForget=true">忘记密码</el-button>
                            <el-link href="login.html">登录</el-link>
                        </template>
                    </sgin>
                </div>
            </div>
        </el-header>
        <el-main>
            <div class="c900">
                <el-card>
                    <el-row :gutter="10">
                        <el-col :span="12">
                            <el-row :gutter="10">
                                <el-col :span="8">
                                    <img src="https://pic.ydpcdn.cn/pictures/movie/2024-07/2c316a38-aaf9-4e12-9524-98a930ff60bc.jpg!200" height="114px">
                                </el-col>
                                <el-col :span="16">
                                    <div class="grid2 detail">
                                        <label>影片：</label><b>异人之下[国语/2D</b>
                                        <label>影厅：</label><span>2号厅(97座)</span>
                                        <label>场次：</label><time>2024-7-27(周六) 13:00</time>
                                        <label>票价：</label><span>39元（含服务费）</span>
                                    </div>
                                </el-col>
                            </el-row>
                        </el-col>
                        <el-col :span="12">
                            <el-row :gutter="10">
                                <el-col :span="8">
                                    <img src="https://img0.baidu.com/it/u=1898210508,1728733608&fm=253&fmt=auto&app=138&f=JPEG?w=663&h=500">
                                </el-col>
                                <el-col :span="16">
                                    <div class="grid2 detail">
                                        <label>影院：</label><b>衡阳美达国际影城</b>
                                        <label>影院地址：</label><span>石鼓区解放路48号</span>
                                        <label>影院电话：</label><time>0734-8180858</time>
                                    </div>
                                </el-col>
                            </el-row>

                        </el-col>
                    </el-row>
                </el-card>
                <el-card>
                    <div class="flex" style="justify-content: center; margin: 30px">
                        <h3 class="title" style="padding: 15px 30px; border-radius: 5px">2号厅(97座)</h3>
                    </div>
                    <div class="seats">
                        <button class="seat" v-for="i in 97">{{i}}</button>
                    </div>
                    <hr>
                    <el-row>
                        <el-col span="12">
                            您选择的座位：
                            <button class="seat">55</button>
                            <button class="seat">56</button>
                            <button class="seat">57</button>
                            <a href="">重新选座</a>
                        </el-col>
                        <el-col span="12">
                            输入购票手机号码:
                            <el-input style="width: auto"></el-input>
                            <el-button type="primary">下一步</el-button>
                        </el-col>
                    </el-row>
                    <hr>
                    温馨提示：
                    <ul>
                        <li>选择您要预订的座位单击选中，重复点击取消所选座位；</li>
                        <li>每笔订单最多可选购6张电影票；情侣座不单卖；</li>
                        <li>选座时，必须选择相邻座位，请不要留下单个座位；</li>
                        <li>部分影院3D眼镜需要押金，请观影前准备好现金；</li>
                        <li>点击“下一步”进入付款页面后，请在15分钟内完成支付，超时系统将释放您选定的座位。</li>
                    </ul>
                </el-card>
            </div>
        </el-main>
        <el-footer class="flex title" style="justify-content: center;height: 30px">
            <a href="http://www.hyycinfo.com" target="_blank">源辰信息科技</a>
        </el-footer>
    </el-container>
</div>
</body>
<script>
    var v = new Vue({
        el:"#app",
    })
</script>
<style>
    html,body{
        margin: 0px;
        padding: 0px;
    }
    .el-main{
        padding: 10px 0px;
        overflow-x: hidden;
        background-image: url("https://img2.baidu.com/it/u=2454799735,2381918605&fm=253&fmt=auto&app=138&f=JPEG?w=750&h=500");
        background-size: cover;
    }
    .el-card{
        margin-top: 10px;
    }
    html,body,#app,#app>.el-container{
        height: 100%;
    }
    *{
        transition: all .5s;
    }
    a{
        text-decoration: none;
    }
    .c900{
        width: 1000px;
        margin: auto;
    }
    .title{
        background-color: #0a699999;
        color: #fff;
    }
    .title *{
        color: #fff;
    }
    .flex{
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        gap: 10px;
    }
    .flex>*{
        margin: 0px;
        padding: 0px;
    }
    .center{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    nav{
        display: flex;
        height: 100%;
    }
    nav .el-link{
        padding-inline: 20px;
        font-size: 1em;
    }
    nav .el-link:hover{
        background-color: #99f7;
    }
    img{
        width: 100%;
        object-fit: cover;
    }
    .hsc:hover{
        transform: scale(1.1);
        box-shadow: 3px 3px 3px 3px #8888;
    }
    .grid2{
        display: grid;
        grid-template-columns: auto auto;
    }
    .grid3{
        display: grid;
        grid-template-columns: auto auto auto;
    }
    .grid4{
        display: grid;
        grid-template-columns: auto auto auto auto;
    }
    .detail{
        color:#666;
        font-size: .8em;
        gap:5px;
        margin-block: 10px;
    }
    .detail>label{
        color:#999
    }
    table a{
        text-decoration: none;
        color: #fff;
        padding: 5px 10px;
        background-color: #00A0D1;
    }
    td{
        height: 50px;
    }
    td>p{
        margin: 0px;
    }
    .table_1 {
        height: 37px;
        line-height: 37px;
        background: #dff0f5;
        border: 1px #ccc solid;
        text-align: center;
        font-weight: bold;
        color: #444;
    }
    .seats{
        width: 500px;
        margin: 0px auto 40px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .seat{
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    .el-icon-search{
        color: #666;
    }


</style>

</html>